home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Games: Greatest Hits 1996
/
Amiga Games: Greatest Hits 1996.iso
/
archive
/
userbox
/
publicdomain
/
megabook.lha
/
MegaBook
/
Storage
/
DialData
/
Termite.mbrx
< prev
next >
Wrap
Text File
|
1996-06-27
|
863b
|
40 lines
/*
** Termite Dialer for MegaBook 3
** By Tom Bampton
**
** © 1996 Eden Software
**
** This is the script run when the Dial Data option is selected from the
** Extras menu, please see the docs for creating your own script to dial
** through your terminal program.
*/
/*
Path to Termite, it's run if Termite isn't running
Change this to the path of your copy of Termite
*/
TermitePath = 'Dh1:Termite/Termite'
parse arg Number
/* Check if Termite is running, if not, run it */
if ~show('P', 'TERMITE.1') then do
address command
'run >nil: ' TermitePath
/* Wait for the ARexx port */
do 5 while ~show('P', 'TERMITE.1')
'sys:rexxc/waitforport TERMITE.1'
end
end
address 'TERMITE.1'
options results
/*
Because Termite has no DIAL arexx command, we'll send the ATDT command
straight to the modem.
*/
ClearTerminal
SerExpand 'ATDT' Number '\r'